package com.wilmer.aiMessage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wilmer.common.annotation.Excel;
import com.wilmer.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 AI_MESSAGE
 * 
 * @author ruoyi
 * @date 2024-05-09
 */
@Data
public class AiMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long ID;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 聊天信息 */
    @Excel(name = "聊天信息")
    private String message;

    /** 发送方 0：用户 1：gpt */
    @Excel(name = "发送方 0：用户 1：gpt")
    private Integer sender;

    /** 发送方 0：用户 1：gpt */
    @Excel(name = "创建人")
    private String createBy;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 聊天ID */
    @Excel(name = "聊天ID")
    private String UID;

}
